GtkGrid: Fix a size allocation problem
authorMatthias Clasen <mclasen@redhat.com>
Tue, 7 Jun 2011 15:05:50 +0000 (11:05 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 7 Jun 2011 15:05:50 +0000 (11:05 -0400)
commitd4224cd325932674cb55c8541165c40b0c052af6
tree89402b6714f556ec4541ff3ccd3a51bfce6dd0dd
parenteb76287995fecbb4bef991d29066549570a48164
GtkGrid: Fix a size allocation problem

We need pay attention the the request mode when doing size allocation.
The code was using request mode for requisition, but orientation
for allocation.

Also add a reftest that exhibits the issue, courtesy of
Benjamin Otte.
gtk/gtkgrid.c
tests/reftests/Makefile.am
tests/reftests/grid-wfh.ref.ui [new file with mode: 0644]
tests/reftests/grid-wfh.ui [new file with mode: 0644]